<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Whisper: CStegitMath Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Whisper
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-static-methods">Static Private Member Functions</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">CStegitMath Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="CStegitMath" -->
<p>mathematical functionality for StegIT-2  
 <a href="classCStegitMath.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="stegit__math_8h_source.html">stegit_math.h</a>&gt;</code></p>

<p><a href="classCStegitMath-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCStegitMath.html#a0be3e3b409bf9210f05bf5d481fa9542">EInterpolationType</a> { <br/>
&#160;&#160;<a class="el" href="classCStegitMath.html#a0be3e3b409bf9210f05bf5d481fa9542a6055f26228bcd1ce934cbc75633aa8e3">INTERP_TYPE_LINEAR</a> =  0, 
<a class="el" href="classCStegitMath.html#a0be3e3b409bf9210f05bf5d481fa9542a4b9b08772c76f90d7e2c5119066afe04">INTERP_TYPE_POLYNOMIAL</a>, 
<a class="el" href="classCStegitMath.html#a0be3e3b409bf9210f05bf5d481fa9542a565caea08923a948c8bed78a091be57a">INTERP_TYPE_CSPLINE</a>, 
<a class="el" href="classCStegitMath.html#a0be3e3b409bf9210f05bf5d481fa9542a69089d55114afd321c393898c6f2fd5e">INTERP_TYPE_CSPLINE_PERIODIC</a>, 
<br/>
&#160;&#160;<a class="el" href="classCStegitMath.html#a0be3e3b409bf9210f05bf5d481fa9542ac9433bd99529267f529a2bf46eb49ad7">INTERP_TYPE_AKIMA</a>, 
<a class="el" href="classCStegitMath.html#a0be3e3b409bf9210f05bf5d481fa9542a7bd0d148cd267c992fb7ca26e619e072">INTERP_TYPE_AKIMA_PERIODIC</a>
<br/>
 }</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCStegitMath.html#a27b4ccfa0f0ffd5a21b44208a66134f3">pow</a> (double pBase, int pPower)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static std::complex&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCStegitMath.html#a0ed4af81fd9ee30890bb7858a0410425">pow</a> (double pBase, std::complex&lt; double &gt; pPower)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCStegitMath.html#a15ffac1a6a90f1a4e2060c06290265d1">log</a> (double pValue)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCStegitMath.html#a618fa77316720e8749f3cf3ef91f039c">convert</a> (double *pInput, std::complex&lt; double &gt; *pOutput, unsigned int pLength)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCStegitMath.html#ac1e726f7e8b25391aaf96e4eaab84927">convert</a> (std::complex&lt; double &gt; *pInput, double *pOutput, unsigned int pLength)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCStegitMath.html#aec6a85eefd29f0b10990dcb25058cfe2">convert</a> (std::complex&lt; double &gt; *pInput, fftw_complex *pOutput, unsigned int pLength)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCStegitMath.html#a3fe4571c9c6380a9458f4a41582e77e7">convert</a> (double *pInput, fftw_complex *pOutput, unsigned int pLength)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCStegitMath.html#a1df2599ebc91049d35a9505175b6903a">convert</a> (fftw_complex *pInput, std::complex&lt; double &gt; *pOutput, unsigned int pLength)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCStegitMath.html#a232eb5deb85c1a00d9962eba6c15658f">convert</a> (fftw_complex *pInput, double *pOutput, unsigned int pLength)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCStegitMath.html#a9fc181dd3d75febbb2f7bb69cd37e3af">convert</a> (std::valarray&lt; double &gt; &amp;pInput, fftw_complex *pOutput, unsigned int pLength)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCStegitMath.html#af3dd70d57daf78e8e293a6b07e8d67a2">interpolate</a> (double *pOut, unsigned int pOutLen, double *pIn, unsigned int pInLen, double *pInTmp, <a class="el" href="classCStegitMath.html#a0be3e3b409bf9210f05bf5d481fa9542">EInterpolationType</a> pType, bool pExtrapolation)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCStegitMath.html#aa829f2b5a9d4dd8069013659911e5c58">interpolate</a> (double *pOut, unsigned int pOutLen, double *pIn, unsigned int pInLen, <a class="el" href="classCStegitMath.html#a0be3e3b409bf9210f05bf5d481fa9542">EInterpolationType</a> pType, bool pExtrapolation)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCStegitMath.html#afa346a68a614e11a2dd0edb1f4be45b7">interpolate</a> (double *pOut, unsigned int pOutLen, double pOutLenTime, double pOutOffsetTime, double *pIn, unsigned int pInLen, double pInLenTime, <a class="el" href="classCStegitMath.html#a0be3e3b409bf9210f05bf5d481fa9542">EInterpolationType</a> pType)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCStegitMath.html#acaec45aadb8ad72a794a5cb88cb65ba7">inCksum</a> (void *pAddr, int pLen)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCStegitMath.html#a6cac42e396b9ac1885f25834fb018c48">CRC8_BlockChecksum</a> (const void *data, int length)</td></tr>
<tr><td colspan="2"><h2><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCStegitMath.html#a23d68c7d003b762506a2c0978f4dff98">CStegitMath</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCStegitMath.html#a300d3dc7195bd6208ca20cb301c1ad19">CStegitMath</a> (const <a class="el" href="classCStegitMath.html">CStegitMath</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCStegitMath.html">CStegitMath</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCStegitMath.html#afef294312b5d195b67a8cfd77ab8f42d">operator=</a> (const <a class="el" href="classCStegitMath.html">CStegitMath</a> &amp;)</td></tr>
<tr><td colspan="2"><h2><a name="pri-static-methods"></a>
Static Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCStegitMath.html#a593e6b8eca03982089d53d8ce3bee75e">CRC8_InitChecksum</a> (unsigned char &amp;crcvalue)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCStegitMath.html#abdb183fcfab6424ba758375580760f7b">CRC8_Update</a> (unsigned char &amp;crcvalue, const unsigned char data)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCStegitMath.html#ab90e869afefa8ce36f79320d04fd2523">CRC8_UpdateChecksum</a> (unsigned char &amp;crcvalue, const void *data, int length)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCStegitMath.html#a342173d6ce1ca336f2fa7dbe2d6ec4af">CRC8_FinishChecksum</a> (unsigned char &amp;crcvalue)</td></tr>
<tr><td colspan="2"><h2><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCStegitMath.html#a86b20966f95cb5876c69322bbdeb4f7a">sLogApproxRounds</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCStegitMath.html#a5123da0c1e40a20c5c8f3ae58577a211">sCRCTable</a> [256]</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>mathematical functionality for StegIT-2 </p>
<dl class="author"><dt><b>Author:</b></dt><dd>mnutzinger</dd></dl>
<p>This class contains only static member functions and cannot be instantiated. </p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a0be3e3b409bf9210f05bf5d481fa9542"></a><!-- doxytag: member="CStegitMath::EInterpolationType" ref="a0be3e3b409bf9210f05bf5d481fa9542" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classCStegitMath.html#a0be3e3b409bf9210f05bf5d481fa9542">CStegitMath::EInterpolationType</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a0be3e3b409bf9210f05bf5d481fa9542a6055f26228bcd1ce934cbc75633aa8e3"></a><!-- doxytag: member="INTERP_TYPE_LINEAR" ref="a0be3e3b409bf9210f05bf5d481fa9542a6055f26228bcd1ce934cbc75633aa8e3" args="" -->INTERP_TYPE_LINEAR</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a0be3e3b409bf9210f05bf5d481fa9542a4b9b08772c76f90d7e2c5119066afe04"></a><!-- doxytag: member="INTERP_TYPE_POLYNOMIAL" ref="a0be3e3b409bf9210f05bf5d481fa9542a4b9b08772c76f90d7e2c5119066afe04" args="" -->INTERP_TYPE_POLYNOMIAL</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a0be3e3b409bf9210f05bf5d481fa9542a565caea08923a948c8bed78a091be57a"></a><!-- doxytag: member="INTERP_TYPE_CSPLINE" ref="a0be3e3b409bf9210f05bf5d481fa9542a565caea08923a948c8bed78a091be57a" args="" -->INTERP_TYPE_CSPLINE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a0be3e3b409bf9210f05bf5d481fa9542a69089d55114afd321c393898c6f2fd5e"></a><!-- doxytag: member="INTERP_TYPE_CSPLINE_PERIODIC" ref="a0be3e3b409bf9210f05bf5d481fa9542a69089d55114afd321c393898c6f2fd5e" args="" -->INTERP_TYPE_CSPLINE_PERIODIC</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a0be3e3b409bf9210f05bf5d481fa9542ac9433bd99529267f529a2bf46eb49ad7"></a><!-- doxytag: member="INTERP_TYPE_AKIMA" ref="a0be3e3b409bf9210f05bf5d481fa9542ac9433bd99529267f529a2bf46eb49ad7" args="" -->INTERP_TYPE_AKIMA</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a0be3e3b409bf9210f05bf5d481fa9542a7bd0d148cd267c992fb7ca26e619e072"></a><!-- doxytag: member="INTERP_TYPE_AKIMA_PERIODIC" ref="a0be3e3b409bf9210f05bf5d481fa9542a7bd0d148cd267c992fb7ca26e619e072" args="" -->INTERP_TYPE_AKIMA_PERIODIC</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a23d68c7d003b762506a2c0978f4dff98"></a><!-- doxytag: member="CStegitMath::CStegitMath" ref="a23d68c7d003b762506a2c0978f4dff98" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CStegitMath::CStegitMath </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a300d3dc7195bd6208ca20cb301c1ad19"></a><!-- doxytag: member="CStegitMath::CStegitMath" ref="a300d3dc7195bd6208ca20cb301c1ad19" args="(const CStegitMath &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CStegitMath::CStegitMath </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCStegitMath.html">CStegitMath</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a618fa77316720e8749f3cf3ef91f039c"></a><!-- doxytag: member="CStegitMath::convert" ref="a618fa77316720e8749f3cf3ef91f039c" args="(double *pInput, std::complex&lt; double &gt; *pOutput, unsigned int pLength)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CStegitMath::convert </td>
          <td>(</td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>pInput</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::complex&lt; double &gt; *&#160;</td>
          <td class="paramname"><em>pOutput</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>pLength</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac1e726f7e8b25391aaf96e4eaab84927"></a><!-- doxytag: member="CStegitMath::convert" ref="ac1e726f7e8b25391aaf96e4eaab84927" args="(std::complex&lt; double &gt; *pInput, double *pOutput, unsigned int pLength)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CStegitMath::convert </td>
          <td>(</td>
          <td class="paramtype">std::complex&lt; double &gt; *&#160;</td>
          <td class="paramname"><em>pInput</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>pOutput</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>pLength</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aec6a85eefd29f0b10990dcb25058cfe2"></a><!-- doxytag: member="CStegitMath::convert" ref="aec6a85eefd29f0b10990dcb25058cfe2" args="(std::complex&lt; double &gt; *pInput, fftw_complex *pOutput, unsigned int pLength)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CStegitMath::convert </td>
          <td>(</td>
          <td class="paramtype">std::complex&lt; double &gt; *&#160;</td>
          <td class="paramname"><em>pInput</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">fftw_complex *&#160;</td>
          <td class="paramname"><em>pOutput</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>pLength</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a3fe4571c9c6380a9458f4a41582e77e7"></a><!-- doxytag: member="CStegitMath::convert" ref="a3fe4571c9c6380a9458f4a41582e77e7" args="(double *pInput, fftw_complex *pOutput, unsigned int pLength)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CStegitMath::convert </td>
          <td>(</td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>pInput</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">fftw_complex *&#160;</td>
          <td class="paramname"><em>pOutput</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>pLength</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a1df2599ebc91049d35a9505175b6903a"></a><!-- doxytag: member="CStegitMath::convert" ref="a1df2599ebc91049d35a9505175b6903a" args="(fftw_complex *pInput, std::complex&lt; double &gt; *pOutput, unsigned int pLength)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CStegitMath::convert </td>
          <td>(</td>
          <td class="paramtype">fftw_complex *&#160;</td>
          <td class="paramname"><em>pInput</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::complex&lt; double &gt; *&#160;</td>
          <td class="paramname"><em>pOutput</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>pLength</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a232eb5deb85c1a00d9962eba6c15658f"></a><!-- doxytag: member="CStegitMath::convert" ref="a232eb5deb85c1a00d9962eba6c15658f" args="(fftw_complex *pInput, double *pOutput, unsigned int pLength)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CStegitMath::convert </td>
          <td>(</td>
          <td class="paramtype">fftw_complex *&#160;</td>
          <td class="paramname"><em>pInput</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>pOutput</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>pLength</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a9fc181dd3d75febbb2f7bb69cd37e3af"></a><!-- doxytag: member="CStegitMath::convert" ref="a9fc181dd3d75febbb2f7bb69cd37e3af" args="(std::valarray&lt; double &gt; &amp;pInput, fftw_complex *pOutput, unsigned int pLength)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CStegitMath::convert </td>
          <td>(</td>
          <td class="paramtype">std::valarray&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>pInput</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">fftw_complex *&#160;</td>
          <td class="paramname"><em>pOutput</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>pLength</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a6cac42e396b9ac1885f25834fb018c48"></a><!-- doxytag: member="CStegitMath::CRC8_BlockChecksum" ref="a6cac42e396b9ac1885f25834fb018c48" args="(const void *data, int length)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char CStegitMath::CRC8_BlockChecksum </td>
          <td>(</td>
          <td class="paramtype">const void *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>length</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a342173d6ce1ca336f2fa7dbe2d6ec4af"></a><!-- doxytag: member="CStegitMath::CRC8_FinishChecksum" ref="a342173d6ce1ca336f2fa7dbe2d6ec4af" args="(unsigned char &amp;crcvalue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CStegitMath::CRC8_FinishChecksum </td>
          <td>(</td>
          <td class="paramtype">unsigned char &amp;&#160;</td>
          <td class="paramname"><em>crcvalue</em></td><td>)</td>
          <td><code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a593e6b8eca03982089d53d8ce3bee75e"></a><!-- doxytag: member="CStegitMath::CRC8_InitChecksum" ref="a593e6b8eca03982089d53d8ce3bee75e" args="(unsigned char &amp;crcvalue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CStegitMath::CRC8_InitChecksum </td>
          <td>(</td>
          <td class="paramtype">unsigned char &amp;&#160;</td>
          <td class="paramname"><em>crcvalue</em></td><td>)</td>
          <td><code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="abdb183fcfab6424ba758375580760f7b"></a><!-- doxytag: member="CStegitMath::CRC8_Update" ref="abdb183fcfab6424ba758375580760f7b" args="(unsigned char &amp;crcvalue, const unsigned char data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CStegitMath::CRC8_Update </td>
          <td>(</td>
          <td class="paramtype">unsigned char &amp;&#160;</td>
          <td class="paramname"><em>crcvalue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const unsigned char&#160;</td>
          <td class="paramname"><em>data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab90e869afefa8ce36f79320d04fd2523"></a><!-- doxytag: member="CStegitMath::CRC8_UpdateChecksum" ref="ab90e869afefa8ce36f79320d04fd2523" args="(unsigned char &amp;crcvalue, const void *data, int length)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CStegitMath::CRC8_UpdateChecksum </td>
          <td>(</td>
          <td class="paramtype">unsigned char &amp;&#160;</td>
          <td class="paramname"><em>crcvalue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const void *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>length</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="acaec45aadb8ad72a794a5cb88cb65ba7"></a><!-- doxytag: member="CStegitMath::inCksum" ref="acaec45aadb8ad72a794a5cb88cb65ba7" args="(void *pAddr, int pLen)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t CStegitMath::inCksum </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>pAddr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pLen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Create a 16 bit CRC</p>
<p>Create a 16 bit CRC in_cksum -- Checksum routine for Internet Protocol family headers (C Version) <a href="http://www.cs.utah.edu/~swalton/listings/sockets/programs/part4/chap18/ping.c">http://www.cs.utah.edu/~swalton/listings/sockets/programs/part4/chap18/ping.c</a> </p>

</div>
</div>
<a class="anchor" id="af3dd70d57daf78e8e293a6b07e8d67a2"></a><!-- doxytag: member="CStegitMath::interpolate" ref="af3dd70d57daf78e8e293a6b07e8d67a2" args="(double *pOut, unsigned int pOutLen, double *pIn, unsigned int pInLen, double *pInTmp, EInterpolationType pType, bool pExtrapolation)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CStegitMath::interpolate </td>
          <td>(</td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>pOut</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>pOutLen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>pIn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>pInLen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>pInTmp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classCStegitMath.html#a0be3e3b409bf9210f05bf5d481fa9542">EInterpolationType</a>&#160;</td>
          <td class="paramname"><em>pType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>pExtrapolation</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pOut</td><td>Output buffer for interpolated samples. </td></tr>
    <tr><td class="paramname">pOutLen</td><td>Length of the output buffer(unit: double). </td></tr>
    <tr><td class="paramname">pIn</td><td>Input buffer for input samples. </td></tr>
    <tr><td class="paramname">pInLen</td><td>Length of input buffer (unit: double). </td></tr>
    <tr><td class="paramname">pInTmp</td><td>A temporary buffer which is needed as temporary buffer by this methode and must have the same length as pIn. The stored values of this buffer will be discard and overwritten. </td></tr>
    <tr><td class="paramname">pType</td><td>Type of interpolation. Some interpolation types needs a minimum of required input samples. For example: Cubic interpolation requires a minimum of 3 samples. For a periodic interpolation type the first and last sample of pIn must have the same values. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>True for successful execution or false for an internal error. </dd></dl>

</div>
</div>
<a class="anchor" id="aa829f2b5a9d4dd8069013659911e5c58"></a><!-- doxytag: member="CStegitMath::interpolate" ref="aa829f2b5a9d4dd8069013659911e5c58" args="(double *pOut, unsigned int pOutLen, double *pIn, unsigned int pInLen, EInterpolationType pType, bool pExtrapolation)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CStegitMath::interpolate </td>
          <td>(</td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>pOut</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>pOutLen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>pIn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>pInLen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classCStegitMath.html#a0be3e3b409bf9210f05bf5d481fa9542">EInterpolationType</a>&#160;</td>
          <td class="paramname"><em>pType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>pExtrapolation</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>interpolate function without pInTmp parameter.</p>
<p>If this methode is used, then this methode will call the function with pInTmp parameter. The buffer for pInTmp will be dynamically allocated. </p>

</div>
</div>
<a class="anchor" id="afa346a68a614e11a2dd0edb1f4be45b7"></a><!-- doxytag: member="CStegitMath::interpolate" ref="afa346a68a614e11a2dd0edb1f4be45b7" args="(double *pOut, unsigned int pOutLen, double pOutLenTime, double pOutOffsetTime, double *pIn, unsigned int pInLen, double pInLenTime, EInterpolationType pType)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CStegitMath::interpolate </td>
          <td>(</td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>pOut</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>pOutLen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>pOutLenTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>pOutOffsetTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>pIn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>pInLen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>pInLenTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classCStegitMath.html#a0be3e3b409bf9210f05bf5d481fa9542">EInterpolationType</a>&#160;</td>
          <td class="paramname"><em>pType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pOut</td><td>Output buffer for interpolated samples. </td></tr>
    <tr><td class="paramname">pOutLen</td><td>Length of the output buffer(unit: double). </td></tr>
    <tr><td class="paramname">pOutLenTime</td><td>Time between first and last sample = (count - 1) * sampleOutTime </td></tr>
    <tr><td class="paramname">pOutOffsetTime</td><td>Time between first input and first output sample. (firstOutTime - firstInTime) </td></tr>
    <tr><td class="paramname">pIn</td><td>Input buffer for input samples. </td></tr>
    <tr><td class="paramname">pInLen</td><td>Length of input buffer (unit: double). </td></tr>
    <tr><td class="paramname">pInLenTime</td><td>Time between first and last sample = (count - 1) * sampleInTime </td></tr>
    <tr><td class="paramname">pType</td><td>Type of interpolation. Some interpolation types needs a minimum of required input samples. For example: Cubic interpolation requires a minimum of 3 samples. For a periodic interpolation type the first and last sample of pIn must have the same values. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>True for successful execution or false for an internal error. </dd></dl>

</div>
</div>
<a class="anchor" id="a15ffac1a6a90f1a4e2060c06290265d1"></a><!-- doxytag: member="CStegitMath::log" ref="a15ffac1a6a90f1a4e2060c06290265d1" args="(double pValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double CStegitMath::log </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>pValue</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="afef294312b5d195b67a8cfd77ab8f42d"></a><!-- doxytag: member="CStegitMath::operator=" ref="afef294312b5d195b67a8cfd77ab8f42d" args="(const CStegitMath &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCStegitMath.html">CStegitMath</a>&amp; CStegitMath::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCStegitMath.html">CStegitMath</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a27b4ccfa0f0ffd5a21b44208a66134f3"></a><!-- doxytag: member="CStegitMath::pow" ref="a27b4ccfa0f0ffd5a21b44208a66134f3" args="(double pBase, int pPower)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double CStegitMath::pow </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>pBase</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pPower</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0ed4af81fd9ee30890bb7858a0410425"></a><!-- doxytag: member="CStegitMath::pow" ref="a0ed4af81fd9ee30890bb7858a0410425" args="(double pBase, std::complex&lt; double &gt; pPower)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::complex&lt; double &gt; CStegitMath::pow </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>pBase</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::complex&lt; double &gt;&#160;</td>
          <td class="paramname"><em>pPower</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a5123da0c1e40a20c5c8f3ae58577a211"></a><!-- doxytag: member="CStegitMath::sCRCTable" ref="a5123da0c1e40a20c5c8f3ae58577a211" args="[256]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char <a class="el" href="classCStegitMath.html#a5123da0c1e40a20c5c8f3ae58577a211">CStegitMath::sCRCTable</a><code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a86b20966f95cb5876c69322bbdeb4f7a"></a><!-- doxytag: member="CStegitMath::sLogApproxRounds" ref="a86b20966f95cb5876c69322bbdeb4f7a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const unsigned int <a class="el" href="classCStegitMath.html#a86b20966f95cb5876c69322bbdeb4f7a">CStegitMath::sLogApproxRounds</a><code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>number of rounds for logarithm approximation </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="stegit__math_8h_source.html">stegit_math.h</a></li>
<li><a class="el" href="stegit__math_8cxx.html">stegit_math.cxx</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 25 2012 22:00:45 for Whisper by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
